package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 根证书对象 bcert_info
 * 
 * @author ess
 * @date 2021-10-18
 */
public class BcertInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 根证书表id */
    private String bcertId;

    /** 证书DN */
    @Excel(name = "证书DN")
    private String sissuerInfo;

    /** 根证书的BASE64编码 */
    @Excel(name = "根证书的BASE64编码")
    private String base64Bcert;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    /** 生效时间 */
    @Excel(name = "生效时间")
    private String insertTime;

    /** 作废时间 */
    @Excel(name = "作废时间")
    private String dropTime;

    public void setBcertId(String bcertId) 
    {
        this.bcertId = bcertId;
    }

    public String getBcertId() 
    {
        return bcertId;
    }
    public void setSissuerInfo(String sissuerInfo) 
    {
        this.sissuerInfo = sissuerInfo;
    }

    public String getSissuerInfo() 
    {
        return sissuerInfo;
    }
    public void setBase64Bcert(String base64Bcert) 
    {
        this.base64Bcert = base64Bcert;
    }

    public String getBase64Bcert() 
    {
        return base64Bcert;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setInsertTime(String insertTime) 
    {
        this.insertTime = insertTime;
    }

    public String getInsertTime() 
    {
        return insertTime;
    }
    public void setDropTime(String dropTime) 
    {
        this.dropTime = dropTime;
    }

    public String getDropTime() 
    {
        return dropTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bcertId", getBcertId())
            .append("sissuerInfo", getSissuerInfo())
            .append("base64Bcert", getBase64Bcert())
            .append("state", getState())
            .append("insertTime", getInsertTime())
            .append("dropTime", getDropTime())
            .toString();
    }
}
